﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;


namespace SisocanaFronEnd.Controllers
{
    public class ErrorController : Controller
    {
        //
        // GET: /Error/

        public ActionResult Index()
        {
            //nada...
            return View();
        }


        public ActionResult NoSite(string id)
        {
            ViewBag.message = id;
            return View();

        }

        public ActionResult Inactiva(string id)
        {
            ViewBag.message = id;
            return View();
        }

        public ActionResult Mantenimiento(string id)
        {
            ViewBag.message = id;
            return View();
        }


        public ActionResult OtroError(string id)
        {
            ViewBag.message = id;
            return View();
        }

        public ActionResult ErrorMessage()
        {
            return View(TempData["ErrorMessage"]);
        }
    }
}
